<?php
$userid = empty($_GET['userid']) ? 0 : intval($_GET['userid']);
if($userid > 0){
	$oUser = new User();
	$userinfo = $oUser->get_by_userid($userid, '*');
}else{
	$userinfo = array();
}
$vars['info'] = $userinfo;
?>